package com.myrent.shiro;

import org.apache.shiro.authc.UsernamePasswordToken;

/**
 * @author dyc
 */
public class CustomizedToken extends UsernamePasswordToken {

    /** 登录类型，判断是普通用户登录，还是企业登录  */
    private String loginType;

    public CustomizedToken(final String username, final String password, String loginType) {
        super(username, password);
        this.loginType = loginType;
    }

    public String getLoginType() {
        return loginType;
    }

    public void setLoginType(String loginType) {
        this.loginType = loginType;
    }
}